<?php
//响应码配置
$config['ResponseCode'] = array(
        'APPID_IS_EMPTY'=>array(1000,'APPID不能为空'),
        'APPID_IS_NOT_FOUND'=>array(1001,'APPID不存在'),
        'SIGN_ERROR'=>array(1002,'签名不正确'),
        'SIGN_EMPTY'=>array(1003,'签名不能为空'),

        'ACCOUNT_IS_EMPTY'=>array(2000,'Account不能为空'),
        'PASSWD_IS_EMPTY'=>array(2001,'密码不能为空'),
        'USER_IS_NOT_FOUND'=>array(2002,'用户不存在'),
        'ACCOUNT_IS_EXISTS'=>array(2003,'帐号已存在'),
        'LOGIN_FAILED'=>array(2004,'登录失败'),
        'LOGIN_FAILED_MAX'=>array(2005,'超过最大登录错误次数，10分钟后再试'),
        'USER_ID_IS_EMPTY'=>array(2006,'USERID不能为空'),
        'OLDPASSWD_IS_ERROR'=>array(2007,'原密码错误'),
        'IP_IS_NO_VALID'=>array(2008,'错误的IP地址'),
        'USER_LOCKED' =>array(2009,'帐号已被锁定'),
        'REQUIRE_ECARD'=>array(2010,'需要校验密保卡'),
        'ECARD_EXPIRE'=>array(2011,'密保卡已过期'),
        'ECARD_VALIDATION_ERROR'=>array(2012,'密保卡验证不正确'),
        'ECARD_VALIDATION_TIMEOUT'=>array(2013,'密保卡验证超时'),
        'ECARD_VALUE_ERROR'=>array(2014,'密保卡输入错误'),
        'ECARD_EXISTS'=>array(2015,'已绑定密保卡'),
        'ECARD_NOT_EXISTS'=>array(2016,'密保卡不存在'),
        'ECARD_REMOVE_FAILED'=>array(2017,'解绑密保卡失败'),
        'ACCOUNT_IS_NOT_VALID'=>array(2018,'account不合法'),
        'ACCOUNT_IS_NOT_MATCH'=>array(2019,'account不符合规则'),

        'IDENTITY_NOT_VALIDAT'=>array(2100,'错误的身份证号码'),
        'UPDATE_IDENTITY_ERROR'=>array(2101,'更新防沉迷信息失败'),
        'IDENTITY_NOT_FOUND'=>array(2102,'未经过防沉迷认证'),

        'AMOUNT_IS_LESS'=>array(3000,'用户积分不足'),

        'SERVER_IS_ERROR'=>array(5000,'服务器错误'),

        'TOKEN_NOT_FOUND'=>array(4001,'token不存在'),
        'TOKEN_IS_EMPTY' =>array(4002,'token为空'),


        'METHOD_NOT_SUPPORT'=>array(6000,'方法不被允许'),

        'OK'=>array(0,'OK'),
);


